/*
Do file for replicating the results of Table 4 in Appendix C
using an alternative measure of success
*/

* Changes in the abundant relative to other factors
use "Lektzian_Patterson_Political_Cleavages_and_Economic_Sanctions.dta", clear

	* Sanction Years Data
		logit success TradeOpenPKM CdAbtoMdSc TOPKMCdAbtoMdSc  ///
		STEcCstMS numsansenders USSen MZTotMIDCountTS  ///
		ATatopallyTSP Inst POLpolity2 time time2 time3 , cluster(caseid)
		
	* Sanction Case Data
		keep if sanendyear==1
		logit success TradeOpenPKM CdAbtoMdSc TOPKMCdAbtoMdSc  ///
		STEcCstMS numsansenders USSen MZTotMIDCountTS  ///
		ATatopallyTSP Inst POLpolity2 time, cluster(caseid)
			
* Changes in the scarce relative to other factors
* need to reopen the data before running this model
use "Lektzian_Patterson_Political_Cleavages_and_Economic_Sanctions.dta", clear

	* Sanction Years Data
		logit success TradeOpenPKM CdSctoAbMd TOPKMCdSctoAbMd  ///
		STEcCstMS numsansenders USSen MZTotMIDCountTS    ///
		ATatopallyTSP Inst POLpolity2 time time2 time3 , cluster(caseid)
		
	* Sanction Case Data
		keep if sanendyear==1
		logit success TradeOpenPKM CdSctoAbMd TOPKMCdSctoAbMd  ///
		STEcCstMS numsansenders USSen MZTotMIDCountTS    ///
		ATatopallyTSP Inst POLpolity2 time, cluster(caseid)
	



exit
